import threading
from time import sleep

from loguru import logger


def get_thread_info():
    sleep(1)
    current_thread = threading.currentThread()
    logger.info(current_thread)


if __name__ == '__main__':
    for _ in range(10):
        t = threading.Thread(target=get_thread_info)
        t.start()
